package edu.dzxx;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.ApplicationPidFileWriter;
import org.springframework.boot.web.servlet.ServletComponentScan;

@SpringBootApplication
@MapperScan("edu.dzxx.dao")
@ServletComponentScan(basePackages = {"edu.gymnasium.filter"})
public class DzxxApplication {
    public static void main(String[] args) {
        SpringApplication app = new SpringApplication(DzxxApplication.class);
        app.addListeners(new ApplicationPidFileWriter());
        app.run(args);
    }
}
